﻿-- =============================================
-- Author:		<Author,,Name>
-- Create date: <Create Date, ,>
-- Description:	<Description, ,>
-- =============================================
CREATE FUNCTION GetContClass
(
	@Cont TipCont
)
RETURNS CHAR
AS
BEGIN
	-- Declare the return variable here
	DECLARE @ResultVar CHAR
	IF LEN(@Cont) > 0
	BEGIN
		set @ResultVar  = substring(@CONT,1,1)
	END
	RETURN @ResultVar

END